package com.wyj.executor.statement;

import com.wyj.config.BoundSql;

import java.sql.*;

public class PreparedStatementHandler implements StatementHandler{
    private BoundSql boundSql;


    @Override
    public Statement prepare(Connection connection) throws SQLException {
        return connection.prepareStatement(boundSql.getSqlText(), ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
    }

    @Override
    public void parameterize(Statement statement) {

    }
}
